Whether Pixy Camera Detects Color Identification Objects
Function:
magicbox.get_pixy_camera_is_detected(port, color)Description: determine whether pixy camera detected color identification objects
Required parameter:
- port: port, range: 1~6
- color: color, range: 1~7
- Return:
- True: detected color labled objects
- False: not detected color labled objects
Example
magicbox.get_pixy_camera_is_detected(port=1, color=1)Determine whether pixy camera detected color objects.